from django.urls import path
from myapp.views import *
urlpatterns = [
    # 校验用户名
    path('users/check/username/<str:name>/', CheckUserName.as_view()),
    # 校验手机号
    path('users/check/mobile/<str:mobile>/', CheckMobile.as_view()),
    # 注册
    path('users/register/', CheckRegister.as_view()),
]
